package component;

import java.awt.Graphics;

public abstract class Renderer extends Component implements Comparable<Renderer>
{
	protected int sortingOrder;
	public abstract void render(Graphics g);
	@Override
	public final int compareTo(Renderer o) 
	{
		return sortingOrder - o.sortingOrder;
	}
}
